SmartCrawl\Redirects\Utils S

Total Complexity 31
Dependencies 4
Dependents 3
Total lines 285
Lines of code 118
Logical lines of code 53
Comment lines 126
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
source_to_path()
S
53 5 23
create_redirect_item()
S
56 3 19
encode_path()
S
57 2 19
prepare_options()
S
72 3 5
get_default_type()
S
71 2 6
prepare_type()
S
69 2 7
prepare_destination()
S
79 2 3
prepare_url()
S
65 2 9
is_url_absolute()
S
77 2 3
is_post_type()
S
77 2 3
get_full_url()
S
70 2 6
prepare_source()
S
80 1 3
remove_scheme()
S
78 1 3
normalize_path()
S
71 1 6
enforce_starting_slash()
S
79 1 3